import { ref, computed } from 'vue'
import { defineStore } from 'pinia'

export const useUserStore = defineStore('user', () => {
    const user = ref(null)
    const token = ref(null)
    const restaurantName = ref('')
    return {
        user,
        token,
        restaurantName
    }
}, {
    persist: true
})
